package com.yh.modules.data.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.yh.common.utils.PageUtils;
import com.yh.modules.data.entity.JqGridEntity;
import com.yh.modules.data.entity.MachineWorkRecordEntity;

import java.util.List;
import java.util.Map;

/**
 * @Author: skh
 * @Date: 2020/3/31 16:08
 * @Description:
 */
public interface MachineWorkRecordService extends IService<MachineWorkRecordEntity> {

    void saveWorkRecord(MachineWorkRecordEntity workRecordEntity);

    Page getWorkRecordList(Map<String, Object> params);

    JqGridEntity getWorkRecordColNamesAndModel(Integer machineId);

    List<MachineWorkRecordEntity> getWorkRecordListByEcharts(Map<String, Object> params);
}
